package com.yixin.hospital.entity.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.beans.Transient;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 分装药品计算表
 * @TableName visit_sub_package_drug_real_report
 */
@TableName(value ="visit_sub_package_drug_real_report")
@Data
public class VisitSubPackageDrugRealReport implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 导诊code
     */
    private String guidanceCode;

    /**
     * 天数
     */
    private Integer realUsageDays;

    /**
     * 金额
     */
    private BigDecimal realAmount;

    /**
     * 日均金额
     */
    private BigDecimal realAmountInDay;

    /**
     * 储值卡金额
     */
    private BigDecimal realCardAmount;

    /**
     * 储值卡日均金额
     */
    private BigDecimal realCardAmountInDay;

    /**
     * 创建人
     */
    private String createdBy;

    /**
     * 创建时间
     */
    private Date createdTime;

    /**
     * 更新人
     */
    private String updatedBy;

    /**
     * 更新时间
     */
    private Date updatedTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private String title = "本次";
}